package com.dein.broadcast.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dein.broadcast.model.Broadcast;
import com.dein.music.model.Music;

public interface BroadcastService {
	public boolean broadcastExist(String broadcastName);

	public boolean createBroadcast(String broadcastName, long[] musicIds)
			throws Exception;

	public List<Broadcast> getBroadcastList();

	public List<Music> getBroadcastMusicList(int broadcastId);

	public boolean updateBroadcast(int broadcastId, String broadcastName);

	public boolean deleteBroadcastMusic(int broadcastId, long musicId);

	public boolean addBroadcastMusic(int broadcastId, long musicId);

	public boolean deleteBroadcast(int broadcastId);

	public List<Music> playPublicBroadcast(int broadcastId);

	public List<Music> playRedHeartBroadcast(long userId);

	public List<Music> playPrivateBroadcast(long userId);

}
